package com.zhuss.bean.unit.product;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhuss.common.AbstractVo;

import java.util.Date;

/**
 * @author summer
 * @date 2021/1/19 15:58
 */
public class HotLineResp extends AbstractVo {

    private Long lineId;     //线路ID

    private Long lineStrategyId;

    private String lineName;     //线路名字

    private Integer lineType;     //线路类型

    @JsonFormat(timezone = "GMT+8", pattern = "hh:mm")
    private Date startTime;     //发车时间

    @JsonFormat(timezone = "GMT+8", pattern = "hh:mm")
    private Date endTime;     //预计到达时间

    private String startPointName;     //起点名称

    private String endPointName;     //终点名称

    private Long price;     //价格, 单位： 分

    private String lineTypeName;//线路类型

    private String boardNo;

    private Integer strategyType;

    private String strategyTypeName;

    private  Integer rideType;

    private String rideTypeName;

    private Long onSiteId;

    private Long offSiteId;

    public Long getLineId() {
        return lineId;
    }

    public void setLineId(Long lineId) {
        this.lineId = lineId;
    }

    public Long getLineStrategyId() {
        return lineStrategyId;
    }

    public void setLineStrategyId(Long lineStrategyId) {
        this.lineStrategyId = lineStrategyId;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public Integer getLineType() {
        return lineType;
    }

    public void setLineType(Integer lineType) {
        this.lineType = lineType;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getStartPointName() {
        return startPointName;
    }

    public void setStartPointName(String startPointName) {
        this.startPointName = startPointName;
    }

    public String getEndPointName() {
        return endPointName;
    }

    public void setEndPointName(String endPointName) {
        this.endPointName = endPointName;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }


    public String getLineTypeName() {
        lineTypeName = lineTypeName(this.lineType);
        return lineTypeName;
    }

    public void setLineTypeName(String lineTypeName) {
        this.lineTypeName = lineTypeName;
    }

    public String getBoardNo() {
        return boardNo;
    }

    public void setBoardNo(String boardNo) {
        this.boardNo = boardNo;
    }

    public Integer getStrategyType() {
        return strategyType;
    }

    public void setStrategyType(Integer strategyType) {
        this.strategyType = strategyType;
    }

    public String getStrategyTypeName() {
        strategyTypeName = strategyTypeName(this.strategyType);
        return strategyTypeName;
    }

    public void setStrategyTypeName(String strategyTypeName) {
        this.strategyTypeName = strategyTypeName;
    }

    public Integer getRideType() {
        return rideType;
    }

    public void setRideType(Integer rideType) {
        this.rideType = rideType;
    }

    public String getRideTypeName() {
        rideTypeName = rideTypeName(this.rideType);
        return rideTypeName;
    }

    public void setRideTypeName(String rideTypeName) {
        this.rideTypeName = rideTypeName;
    }

    public Long getOnSiteId() {
        return onSiteId;
    }

    public void setOnSiteId(Long onSiteId) {
        this.onSiteId = onSiteId;
    }

    public Long getOffSiteId() {
        return offSiteId;
    }

    public void setOffSiteId(Long offSiteId) {
        this.offSiteId = offSiteId;
    }
}
